﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SpotOffer.Resource;
using SpotOffer.Utils;
using Xamarin.Forms;

namespace HalalCheck.CustomViews
{
    public class AppViews
    {
        public static RoundedBox WhiteRounded()
        {
            return new RoundedBox
            {
                BackgroundColor = AppColors.White,
                Opacity = 0.95,
                CornerRadius = 10
            };
        }

      /*  public static RootNav ReturnNavigationPage(Page page, string title)
        {
            page.Title = title;

            return new NavigationPage(page, title)
            {
                BarBackgroundColor = AppColors.OrigDarkBlue,
                BarTextColor = Color.White
            };
        }*/
    }

    public class HalalButton : Button
    {
        public HalalButton()
        {
            BorderColor = Color.Gray;
            BackgroundColor = AppColors.OrigDarkBlue;
            TextColor = Color.White;
        }
    }




}
